package com.yxp.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxp.manager.common.Pagination;
import com.yxp.manager.model.AccountModel;
import com.yxp.manager.modelVo.request.AccountPageReqVo;
import com.yxp.manager.modelVo.response.AccountPageRespVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface AccountMapper extends BaseMapper<AccountModel> {

    Pagination<AccountPageRespVo> selectAccountByPage(Pagination page, @Param("accountPageReqVo") AccountModel accountPageReqVo);
}
